package org.pz.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.pz.dto.DatasourceDto;

import java.util.List;

@Mapper
public interface DataSourceMapper {

    void addDataSource(@Param("ds") DatasourceDto ds);

    List<DatasourceDto> findDataSource();
}
